#ifndef CMDLINE_H
# define CMDLINE_H

#include "linuxos.h"

typedef struct _CmdLine {
    char Model[100];
    char Hardversion[100];
    char Type[100];
    char SN[100];
} CmdLine;

static const char values[][20] = { "model", 
                            "type",
                            "hardware",
                            "sn"};

void proc_cmdline_of_buffer(char* start_of_line, CmdLine *c);
void proc_cmdline_printf_iterator(gpointer item, gpointer prefix);
GSList * proc_cmdlineSplit(char *buf);


#endif